POV-Ray : Newsgroups : povray.general : Graph Paper Texture : Re: Graph Paper Texture Server Time
19 Nov 2024 13:24:58 EST (-0500)
  Re: Graph Paper Texture  
From: Slime
Date: 23 Feb 2002 00:20:46
Message: <3c7726ae$1@news.povray.org>
If you're using 3.5, try basing it on this...

#declare boxesfunc = function{max(x-int(x),y-int(y),z-int(z))}
function {select(boxesfunc(x,y,z)-.5,1-boxesfunc(x,y,z),boxesfunc(x,y,z))}

That code may or may not work, I didn't test it...

- Slime
[ http://www.slimeland.com/ ]
[ http://www.slimeland.com/images/ ]


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.